Skip to content

Conversation

@Nikita5390
Copy link
Collaborator

No description provided.

@Nikita5390 Nikita5390 added the ready for review This label shows, that your task is ready and I can rewiev it. label Aug 24, 2022
@Nikita5390 Nikita5390 requested a review from Chudopal August 24, 2022 19:45
Copy link
Owner

@Chudopal Chudopal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Нужны небольшие правки по оформлению и по логике немного



if __name__ == "__main__":
app.run(debug=True, host='0.0.0.0', port=5000) No newline at end of file
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

в коцне нужно оставлять одну пустую строку, такие вот правила оформления приняты. Просмотри все свои файлы и исправь, там где нет пустой строки в конце

password = hash_md5(account.get("password"))
saved_password = data.get("password")
saved_email = data.get("email")
if password == saved_password and email == saved_email:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

в если условие не срабатывает то возвращаем None? Не надо так, лучше всегда что-то возвращать, например сообщение какое-то или типа того

@Chudopal Chudopal added in progress This label indicates that your task is not ready, but you are working on it. and removed ready for review This label shows, that your task is ready and I can rewiev it. labels Sep 6, 2022
@Nikita5390 Nikita5390 added ready for review This label shows, that your task is ready and I can rewiev it. and removed in progress This label indicates that your task is not ready, but you are working on it. labels Sep 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for review This label shows, that your task is ready and I can rewiev it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants